home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: pwallin@ix.netcom.com(Patrick Wallin )
- Newsgroups: comp.lang.c++
- Subject: Separate initization from Instantiation
- Date: 19 Feb 1996 01:54:36 GMT
- Organization: Netcom
- Message-ID: <4g8l8s$e5q@reader2.ix.netcom.com>
- References: <4g8i2v$erd@cloner4.netcom.com>
- NNTP-Posting-Host: lap-ca4-58.ix.netcom.com
- X-NETCOM-Date: Sun Feb 18 5:54:36 PM PST 1996
-
- I am researching on initization and instantiation in C++.
-
- I do understand the different between them, but I need your help with a
- short example that shows separate between initization and
- instantiation. For example, I do not want to show the program that
- would initizate and instantate at the same time. It happens all the
- time in the constructor in classes.
-
- So I am trying to figure out how to allocate first and then later we
- initialize something. I would appreciate if you could give me a short
- example of it.
-
- Thank you.
-
- Patrick pwallin@ix.netcom.com
-